<%@page import="entity.Prod"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>编辑商品</title>
  </head>
  
  <body>
  	<%
  		Prod prod = (Prod)request.getAttribute("prod");
  	%>
 	<h3>编辑商品</h3>
 	<form action="edit.jspx" method="post">
 		<input type="hidden" name="id" value="<%=prod.getId()%>"/>
 		商品名称: <input type="text" name="prodname" value="<%=prod.getProdname() %>" /><br/>
 		商品价格：<input type="text" name="price" value="<%=prod.getPrice()%>"/><br/>
 		<input type="submit" value="修改"/>
 	</form>
  </body>
</html>
